<?php
namespace app\watershop\controller;

use app\common\controller\BaseShop;
class WapIndex extends BaseShop
{
    public function index(){
        $shop = session('shop');
        $ip = getIp();
        echo $shop;
        echo $ip.'<br/>';
        echo '<a href="'.MobileUrl('mytest/index',array(),true).'">全连接</a><br/>';
        echo '<a href="'.MobileUrl('mytest/index',array('test'=>1)).'">参数连接</a><br/>';
        echo '<a href="'.MobileUrl('mytest/index').'">段连接</a><br/>';
        echo $_SERVER['SERVER_NAME'];
        return ;
    }
}